package com.team7.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @program: team7-object
 * @description:
 * @author: 田宏洋
 * @create: 2021-10-20 16:44
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_check_course")
@ApiModel(value="CheckCourse对象", description="课程审核")
public class CourseCheck {
    @ApiModelProperty(value = "课程审核id")
    @TableId(value = "course_check_id", type = IdType.AUTO)
    private Integer courseCheckId;

    @ApiModelProperty(value = "课程id")
    private String courseId;

    @ApiModelProperty(value = "审核状态")
    private String checkStatus;

    @ApiModelProperty(value = "审核人id")
    private Integer checkUserId;

    @ApiModelProperty(value = "审核内容")
    private String checkContent;

    @ApiModelProperty(value = "审核时间")
    @TableField(value = "check_time" ,fill = FieldFill.INSERT)
    private String checkTime;
}
